Klasse PDFC.ComparisonParameters
java.lang.Object
com.inet.pdfc.PDFC.ComparisonParameters
- Umschließende Klasse:
PDFC
This class gathers the configuration parameters to run a comparison, except the files to compare.
- Seit:
- i-net PDFC 4.3
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidAdds a presenter to the comparison.<T extends BasePresenter>
TgetPresenter(Class<T> pClass) Returns a presenter that was registered for the comparison.Returns a view on the presenter to be used for the comparisonReturns the profile to be used for the comparison.Returns the root folder to store the results toReturn the settingvoidsetRootFolder(File rootFolder) Sets the root folder for all presenters that will be created AFTER calling this method
-
Methodendetails
-
getProfile
Returns the profile to be used for the comparison. This instance is supposed to be updated byCommandLineParameter- Gibt zurück:
- the profile to be used for the comparison.
-
getSettings
-
addPresenter
Adds a presenter to the comparison. If a presenter of the exact same class is already registered, it will be replaced.- Parameter:
p- the parameter to add to the comparer
-
getPresenter
Returns a presenter that was registered for the comparison.- Typparameter:
T- presenter class- Parameter:
pClass- the class type of the presenter to get- Gibt zurück:
- the registered presenter or
nullif none is registered
-
getPresenters
Returns a view on the presenter to be used for the comparison- Gibt zurück:
- an unmodifiable list with the currently configured presenters
-
getRootFolder
Returns the root folder to store the results to- Gibt zurück:
- the root folder to store the results to
-
setRootFolder
Sets the root folder for all presenters that will be created AFTER calling this method- Parameter:
rootFolder- the root folder to be used
-